package com.cskaoyan.bean.admin.system;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Classname StorageBo
 * @Description
 * @Date 2021/8/12 23:24
 * @Created by songweinan
 */
@Data
public class StorageBo {

    private Integer id;
    private String key;
    private String name;
    private String type;
    private Integer size;
    private String url;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String addTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String updateTime;
    private Boolean deleted;
}
